import request from '@/config/request.js'
export default {
    // 充值金额列表
    amountList(data) {
        return request({
            url: '/play/amount',
            method: 'POST',
            data
        })
    },
    // 充值
    amountPlay(data) {
        return request({
            url: '/user/play',
            method: 'POST',
            data
        })
    },
    // 提现
    withdrawal(data) {
        return request({
            url: '/user/withdrawal',
            method: 'POST',
            data
        })
    },
    // 获取账单
    billInfo(data){
        return request({
            url: '/user/billInfo',
            method: 'POST',
            data
        })
    }
}